﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Happy.Domain;

namespace Happy.Examples.ManufactureManagement.Domain.SmallCuts
{
    public sealed class LockInfo : ValueObject<LockInfo>
    {
        // ReSharper disable UnusedMember.Local
        private LockInfo()
        // ReSharper restore UnusedMember.Local
        {
        }

        internal LockInfo(LockType lockType, Guid ownerId)
        {
            this.LockType = lockType;
            this.OwnerId = ownerId;
        }

        internal LockType LockType { get; private set; }

        internal Guid OwnerId { get; private set; }
    }
}
